<?php
	class Area extends MY_controller{

		function __construct(){
			parent::__construct();
		}

		function get_area_by_parent($parent_code){
			$this->load->model('Areas');
			$area = $this->Areas->get_province_data($parent_code);
			echo json_encode($area);exit;
		}
	}